home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 565 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  12.0 KB

  1. Path: conch.aa.msen.com!not-for-mail
  2. From: brain@mail.msen.com (Jim Brain)
  3. Newsgroups: comp.sys.cbm
  4. Subject: COMP.SYS.CBM: General FAQ, v3.0 Part 9/9 (beta)
  5. Supersedes: <cbmmainfaq91295@msen.com>
  6. Followup-To: comp.sys.cbm
  7. Date: 10 Jan 1996 17:06:03 -0500
  8. Organization: Brain Innovations, Inc.
  9. Sender: brain@msen.com
  10. Approved: news-answers-request@MIT.EDU
  11. Expires: 05 Feb 1996
  12. Message-ID: <cbmmainfaq90196@msen.com>
  13. Reply-To: brain@mail.msen.com
  14. NNTP-Posting-Host: conch.aa.msen.com
  15. Summary: This posting contains answers to questions that commonly surface in
  16.          comp.sys.cbm.  This posting will tell you enough to get your
  17.          computer connected to a network, fixed, and/or enhanced.  This file
  18.          should be read by new users of comp.sys.cbm before posting to the
  19.          group.  It should also be proofread by users who are currently
  20.          active in comp.sys.cbm.
  21. Keywords: CBM FAQ Help List C64 C128 VIC Modem
  22. X-URL: http://www.msen.com/~brain/
  23.  
  24.  
  25. X-Posted-By: YPost, version 0.07.B1109
  26.  
  27.  
  28. Archive-name: cbm-main-faq.3.1.p9
  29. Comp-answers-archive-name: commodore/main-faq/part9
  30. News-answers-archive-name: commodore/main-faq/part9
  31. Comp-sys-cbm-archive-name: main-faq/part9
  32. Version: 3.1
  33. Last-modified: 1996/01/10
  34.          
  35.  
  36.   ---------------------------------------------------------------------------
  37.   
  38.   Table of Contents (for this file)
  39.   ---------------------------------
  40.   
  41.   14.  Programming
  42.   14.1.  What Programming Languages are available?
  43.   14.2.  What is a Cross Assembler?  How do I use one?
  44. + 14.3   What is an "undocumented opcode"?
  45.    
  46.   15.  User Groups
  47.  
  48.   16.  Sales and Service
  49.   16.1.  Where do I purchase Commodore Equipment and Software?
  50.   16.2.  Where do I get equipment serviced?
  51.   16.3.  How do I know who to buy from or request service from?
  52.    
  53.   17. Miscellaneous
  54.   17.1.  How fast does a Commodore 64 run?
  55.   17.2.  How can a turn my NTSC-M 64 into a PAL-B 64 or vice versa?
  56.   17.3.  What does this IC number mean?
  57.      
  58.   18. Credits   
  59.  
  60.   ---------------------------------------------------------------------------
  61.   
  62.  
  63.   14.  Programming
  64.   
  65.   
  66.   14.1.  What Programming Languages are available?
  67.  
  68.   The following programming languages are known to exist for the CBM
  69.   computers:
  70.  
  71.   Ada
  72.   APL
  73.   Assembly Language
  74.   BASIC (interpreted and compiled)
  75.   BASIC extenders
  76.   C
  77.   COBOL
  78.   COMAL
  79.   FORTH
  80.   FORTRAN
  81.   LISP
  82.   LOGO
  83.   MUMPS
  84.   Pascal
  85.   PILOT
  86.  
  87.   You name it, and it is probably available for the Commodore computer
  88.   system.  The list of supported languages availeble for the Commodore
  89.   8 bit computer systems is much too large to fir in the FAQ, but they are
  90.   available at http://www.wimsey.com/~danf/cbm/languages.html.
  91.  
  92.   
  93.   14.2.  What is a Cross Assembler?  How do I use one?
  94.   
  95.   A cross assembler is a program that runs on one computer and generates
  96.   code for another computer.  Usually, a non 8-bit CBM machine generates
  97.   the code using this program, but it can be another 64 hooked in some way
  98.   to a "target" 64.  Whatever the case, here are some packages that can be
  99.   used:
  100.   
  101.   as6502          linking 6502 cross assembler
  102.   masm6502        6502 macro cross-assembler
  103.   ps65a12         Unix format 6502 cross assembler
  104.   svasm02         6502 cross assembler
  105.   xasm220         many-targeted cross assemblers
  106.   smal6502        linking macro assembler written in portable PASCAL
  107.  
  108.   A more detailed list can be found at:
  109.   http://www.wimsey.com/~danf/cbm/cross-development.html
  110.  
  111.   For all cross assemblers, the user will most likely benefit from a way to
  112.   transfer the program from the source platform to the target platform.  
  113.   See Section 7 for information on products that will help transfer the
  114.   files.
  115.  
  116.  
  117.   14.3   What is an "undocumented opcode"?
  118.  
  119.   In the 65XX CPU line, each machine language instruction is a single byte,
  120.   which allows for 256 instruction types, or opcodes.  However, there are
  121.   fewer than 256 defined.  When designing the 65XX line, the designers, 
  122.   needing to keep complexity down, decided to treat the extra opcode
  123.   positions as "don't care" opcodes, where no effort would be made to make
  124.   those opcodes do anything special.  Since the opcodes are arranged in a
  125.   16X16 matrix, with a row or column cotaining opcodes that perform similar
  126.   operations, an undefined opcode in the matrix can have the behavior of
  127.   other opcodes in its row or column or both.  These opcodes are called
  128.   "illegal" or "undocumented" opcodes, and are occasionally used by
  129.   demo coders to accomplish special timing effects, or by software
  130.   programmers for copy protection code.  To learn more about these opcodes
  131.   and what each does, the get the 64doc file at 
  132.   ftp://ftp.funet.fi/pub/cbm/documents/64doc or visit a cbm emulator forum.
  133.  
  134.  
  135.   15.  User Groups
  136.   
  137.   User's Groups fulfill a major function for Commodore owners.  They provide
  138.   a place to meet other users, discuss problems and solutions for computing, 
  139.   teach and learn information about their machines.  Software can be shared
  140.   and friendships are made.  The Commodore community is made up largely by
  141.   real or virtual user's groups.
  142.   
  143.   A complete list of Commodore user groups can be found at 
  144.   http://www.msen.com/~brain/pub/cbm-ug.txt
  145.   This file is also available from Jim Brain's MAILSERV server as file
  146.   cbm-ug.txt.  (See Section 6.5.2 for directions on using the MAILSERV 
  147.   server.)
  148.   
  149.   Commodore owners are encouraged to join a CBM user group to help keep these
  150.   vital organizations around.  In addition, most user groups publish
  151.   newsletters 
  152.  
  153.  
  154.   16.  Sales and Service
  155.    
  156.   Sooner or later, every Commodore owner will need to get his or her
  157.   computer serviced, add another peripheral, or simply purchase some
  158.   enhancement hardware or software.  Contrary to popular belief, there
  159.   is a large base of hardware and software suppliers and service centers.
  160.    
  161.    
  162.   16.1.  Where do I purchase Commodore Equipment and Software?
  163.    
  164.   ESCOM (holder of the Commodore patents and copyrights), does not currently
  165.   manufacture Commodore 8-bit computer systems.  Many online services, 
  166.   including GEnie, the Internet, and user group newsletters contain 
  167.   classified ads from individuals wanting to sell used CBM equipment, however.
  168.   
  169.   In Germany, there are a number of shops which still sell factory new
  170.   Commodore 64 and Commodore 128 computers.
  171.  
  172.   ESCOM also does not manufacture software for the Commodore 8-bit line.
  173.   However, many companies still sell software for the Commodore line.
  174.  
  175.   A complete list of Commodore hardware, peripheral, and software suppliers
  176.   is available at http://www.msen.com/~brain/pub/cbm-supply.txt, as on Jim
  177.   Brain's MAILSERV server as file cbm-supply.txt (See Section 6.5.2 for 
  178.   directions on using MAILSERV).
  179.  
  180.  
  181.   16.2.  Where do I get equipment serviced?
  182.    
  183.   There are a number of repair facilities around that will bring your trusty
  184.   Commodore computer up to speed again.  Please look in the list below for one
  185.   that might be able to help you.  If that doesn't turn up anything, check
  186.   with your local User's Group.
  187.   
  188.   A complete list of Commodore software and hardware repair facilities can
  189.   be found at http://www.msen.com/~brain/pub/cbm-repair.txt or at Jim Brain's
  190.   MAILSERV server as file cbm-repair.txt.  (See Section 6.5.2 for directions
  191.   on using MAILSERV)
  192.  
  193.    
  194.   16.3.  How do I know who to buy from or request service from?
  195.    
  196.   The information provided in this file does not imply that a company is
  197.   reputable or even still in business.  It is best to use the above information
  198.   as a starting point, and contact others who can discuss the various
  199.   manufacturers and repair facilities listed above.
  200.    
  201.    
  202.   17. Miscellaneous
  203.   
  204.   Well, this is where the chaff falls.  The following questions are either
  205.   too new to categorize or do not fit into a category.  
  206.   
  207.   
  208.   17.1.  How fast does a Commodore 64 run?
  209.   
  210.   If you are using a stock Commodore 64, the CPU clock frequency is a function
  211.   of the video timing frequency, which is slightly different for differing
  212.   countries.  If you have a stock PAL-B C64 (Common in Europe), the computer 
  213.   is running at 985248.444Hz.  If you are using an NTSC-M C64 (Common in the 
  214.   USA), the computer is running slightly faster, at 1022727.143Hz.  
  215.   
  216.   
  217.   17.2.  How can a turn my NTSC-M 64 into a PAL-B 64 or vice versa?
  218.   
  219.   Changing a C64 from stock PAL-B to stock NTSC-M or vice versa
  220.   requires swapping in the approproate VIC-II chip and the appropriate
  221.   crystal, as well as changing a jumper on the motherboard (The jumper
  222.   has printing near it that indicates whether to cut or connect the jumper).
  223.   Also, if you have a version 1 KERNAL ROM and want to use the built-in
  224.   RS-232 routines, you need to either swap KERNAL ROMs with the other 
  225.   computer (not recommended), or obtain a revision 3 KERNAL (recommended).  
  226.   
  227.   Now, if maintaining stock operation is not a complete must, or if you
  228.   just want to tinker, the crystal and jumper modifications can be made
  229.   optional.  
  230.   
  231.   The VIC-II chip has a relaxed tolerance for timing, so it is possible to 
  232.   run an NTSC-M VIC-II with a PAL-B crystal and jumper settings.
  233.   The converse is possible as well.  Since the crystal frequency is used to 
  234.   generate the frequencies for the TV and monitor output, your TV or
  235.   monitor may not like the resuling hybrid signal very well, but it won't 
  236.   break anything.
  237.   
  238.   In addtion, the jumper indicated above determines the divisor used to scale 
  239.   down the crystal frequency for the CPU.  For PAL-B units, the divisor is 
  240.   18, and for NTSC-M units the divisor is 14.  The Commodore 64 will operate 
  241.   regardless of the crystal frequency and state of this jumper.  Therefore, 
  242.   to speed up a 64, one can install a PAL-B crystal (17734472Hz) and change
  243.   the jumper to use the NTSC divisor (14) to increase the operating
  244.   speed of the machine to 1266748Hz.  However, note that any operations (disk,
  245.   rs-232, special VIC tricks) that require synchronized timing may fail in 
  246.   this "non-stock" scenario.
  247.   
  248.    
  249.   17.3.  What does this IC number mean?
  250.   
  251.   Here are a few Commodore IC numbers and their functions.  Note that this
  252.   is an incomplete list.  A more comprehansive list is called csg.chips.info
  253.   and is at ftp.funet.fi.  
  254.  
  255.   For the VIC-20:
  256.  
  257.   Mnemonic         PN#   Alt. PN#
  258.   VIC-I (NTSC-M)   6560
  259.   VIC-I (PAL-B)    6561
  260.   CPU              6502
  261.  
  262.   For the C-64 and C-64C:
  263.  
  264.   Mnemonic         PN#   Alt. PN#
  265.   VIC-II (NTSC-M)  6567  8562?
  266.   VIC-II (PAL-B)   6569  8565
  267.   VIC-II (PAL-N)   6572
  268.   VIC-II (PAL-M)   6573
  269.   SID              6581  6582  8580
  270.   
  271.   For the C-128(D):
  272.  
  273.   Mnemonic         PN#   Alt. PN#
  274.   VIC-IIe (NTSC-M) 8564
  275.   VIC-IIe (PAL-B)  8566
  276.   VIC-IIe (PAL-N)  8569
  277.   DVDC             8563  8568
  278.   SID              6581  6582  8580
  279.  
  280.   Differences between 64 boards:
  281.  
  282.   The older boards had discrete LSI logic and a PLA chip.  The newer
  283.   boards put all the PLA and LSI logic into one ASIC chip.  On the
  284.   older boards, the KERNAL and BASIC ROMs were separate, while they are
  285.   combined in the newer design.
  286.   
  287.   There are two different models of the narrow board.  One has Color RAM,
  288.   while the other does not.  The ASIC chip includes the PLA and 7 TTL chips,
  289.   and the Color RAM on some machines machines.
  290.   
  291.   The new models use 9 volt versions 8580 SID, while older models use the
  292.   6581 12 volt SID.  The VIC chip (6567 NTSC-M, 6569 PAL-B) has been replaced
  293.   with the 8562 (NTSC-M) and 8565 (PAL-B) on newer models.
  294.   
  295.   Both BASIC 2.0 and the KERNAL ROM have been combined into one ROM for
  296.   the C64C/G/GS.  This ROM is the same as is used on the C128 in C64 mode.
  297.   The ROM is indentical except for nationality differences.
  298.  
  299.    
  300.   18. Credits   
  301.   
  302.   I want to extend my thanks to the following people for their help in
  303.   providing correct, up-to-date information in this FAQ:
  304.  
  305.   Fred Mueller, who maintained this FAQ before I.
  306.   Everyone who helped add to the 1.4 FAQ material to make the 2.0-2.2 FAQ.
  307.   Everyone who helped add to the 2.2 FAQ to make the 3.0 FAQ.
  308.  
  309. -- 
  310. Jim Brain, Embedded Systems Designer, Brain Innovations, Inc.  (BII)
  311. brain@mail.msen.com "Above views DO reflect my employer, since I'm my employer"
  312. Dabbling in WWW, Embedded Systems, VR, Old CBM computers, and Good Times! -Me-
  313. <a href=http://www.msen.com/~brain/>BII, VR, CBM, and personal info</a>
  314.